UPDATE formmain_1678 SET  "FIELD0002"='${psncode}', "FIELD0003"='${psnname}', "FIELD0004"='${classified}', "FIELD0005"='${enablestate}', "FIELD0006"='${deptcode}', "FIELD0007"='${postcode}', "FIELD0008"='${ts}' WHERE FIELD0001 = '${pk_psndoc}'